package com.track.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.stereotype.Component;

/**
 * 项目配置文件
 *
 * @author springer
 */
@Data
@Component
@EnableConfigurationProperties({
        TrackProperties.class
})
@ConfigurationProperties(prefix = "track")
public class TrackProperties {

    @NestedConfigurationProperty
    private JwtProperties jwt;

}
